<template>
    <div class="main-page">
        <el-form :model="childForm" label-width="70px" ref="addstuform"
                 size="mini">
            <el-row>
                <el-form-item label="合约期限">
                    <el-radio-group v-model="radio2">
                        <el-radio v-for="(item,index) in statusList" :key="index">
                            {{item.desc}}
                        </el-radio>
                    </el-radio-group>
                </el-form-item>
            </el-row>
            <el-row>
                <el-form-item label="合约期限">
                    <el-radio-group v-model="radio2">
                        <el-radio v-for="(item,index) in deductList" :key="index">
                            {{item.desc}}
                        </el-radio>
                    </el-radio-group>
                </el-form-item>
            </el-row>
        </el-form>

    </div>
</template>

<script>
    import {mapActions, mapState, mapGetters} from 'vuex'
    import headTop from '../../components/headTop'
    import {userList} from '@/api/getData'
    import ElInput from "../../../node_modules/element-ui/packages/input/src/input.vue";
    import ElOption from "../../../node_modules/element-ui/packages/select/src/option.vue";

    export default {
        name: 'signStatus',
        props: {},
        data() {
            return {
                childForm: {},
                statusList: [{'desc': '未确认', 'id': 1}, {'desc': '已到达', 'id': 1}, {'desc': '迟到', 'id': 1},
                    {'desc': '早退', 'id': 1}, {'desc': '请假', 'id': 1}, {'desc': '旷课', 'id': 1}],
                deductList: [{'desc': '扣1课时', 'id': 1}, {'desc': '不扣课时', 'id': 2}]
            }
        },
        components: {
            ElOption,
            ElInput,
            headTop,

        },
        computed: {
            ...mapGetters(['adminInfo'])
        },
        created() {
        },
        mounted() {

        },
        methods: {
            ...mapActions(['getPeriod']),
        },
    }
</script>
<style lang="less">
    @import '../../style/mixin';

    .el-table .sks {
        background: #c2e7b0;
    }
</style>
